package com.yunxin.core.domain.model.warn;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("warn_history")
public class WarnHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;



    //发送内容
    private String msg;

    //创建时间
    private Date createTime;

    //发送类型 1商户 2渠道
    private Integer warnType;


    //告警数据id warn_type=1就是商户id
    private String metaKey;

    //扩展信息放入json
    private String metaData;

    private Integer beOver;


}
